﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace Revit同步插件.HttpServer
{
  [ServiceContract(Namespace = "net.tcp://goodman.org/")]
  public interface IWallCreate : ICreate
  {

    /// <summary>
    /// 创建墙
    /// </summary>
    /// <param name="points"></param>
    /// <param name="wallType"></param>
    /// <param name="structural"></param>
    [OperationContract]
    bool Create(List<P3> points, bool structural);

  }

  [DataContract(Namespace ="DTO.Revit")]
  [Serializable]
  public class P3
  {
    [DataMember]
    public double X { get; set; }
    [DataMember]
    public double Y { get; set; }
    [DataMember]
    public double Z { get; set; }
  }
}
